package com.hkzhao.reportingsystem.dao;

import com.hkzhao.reportingsystem.Docutment.AddtionDiagnosis;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Component;


import java.util.List;

@Component
public interface AddtionDiagnosisRepository extends MongoRepository<AddtionDiagnosis,String> {
    List<AddtionDiagnosis> findAllByDateEquals(String date);
}
